/**
 * 
 */
package pl.koziolweb.wfm.client.components;

import com.google.gwt.user.client.ui.TreeItem;
import com.google.gwt.user.client.ui.Widget;

/**
 * @author bartlomiejk
 * 
 */
public class FileTreeItem extends TreeItem {

	private File file;

	/**
	 * 
	 */
	public FileTreeItem() {
	}

	/**
	 * 
	 * @param file
	 */
	public FileTreeItem(File file) {
		super(file.getName());
		this.file = file;
	}

	/**
	 * @param html
	 */
	public FileTreeItem(String html) {
		super(html);
	}

	/**
	 * @param widget
	 */
	public FileTreeItem(Widget widget) {
		super(widget);
	}

	/**
	 * 
	 * @return
	 */
	public File getFile() {
		return file;
	}

}
